/*retset css*/
*,
::before,
::after{
    /*选择所有的标签*/
    margin: 0;
    padding: 0;
    /*清楚移动端默认的点击高亮效果*/
    -webkit-tap-highlight-color: transparent;
    /*设置所有的都以边框宽度开始计算  防止百分比布局溢出*/
    -webkit-box-sizing: border-box;/*兼容*/
    box-sizing: border-box;
}

body{
    font-size: 14px;
    font-family: "Microsoft YaHei","sans-serif";/*设备默认字体*/
    color: #333;
    -webkit-overflow-scrolling:touch;
    width: 100%;
    max-width: 600px;
    min-width: 320px;
}

a{
    color: #333;
    text-decoration: none;
    -webkit-touch-callout: none; /*禁止长按链接与图片弹出菜单*/
}

a:hover{
    text-decoration: none;
}

a,button,input,optgroup,select,textarea {
    -webkit-tap-highlight-color:rgba(0,0,0,0); /*去掉a、input和button点击时的蓝色外边框和灰色半透明背景*/
}

input{
    border: none;
    outline: none;/*清除点击高亮效果*/
    /*清除移动端默认的表单样式*/
    -webkit-appearance: none;
}

ul > li{
    list-style: none;
}

/*公用css*/

.f_left{
    float:left;
}
.f_right{
    float: right;
}
.clearfix::before,
.clearfix::after{
    content: "";
    height: 0;
    line-height: 0;
    display: block;
    visibility: hidden;
    clear: both;
}